#@layout2()
#define main()
<div class="layui-col-md12">
    <div class="layui-card">
        <div class="layui-card-body">
            <div class="layui-form-query">
                <form class="layui-form" id="query_form">
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-mid">名称：</label>
                            <div class="layui-input-inline" style="width: 100px;">
                                <input type="text" name="name" autocomplete="off" class="layui-input"/>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <div class="layui-input-inline">
                                <button class="layui-btn layui-btn-blue" type="button" function="query"><i class="layui-icon">&#xe615;</i>查询</button>
                            </div>
                        </div>
                    </div>
                </form>
            </div>
            <table id="fsDatagrid" lay-filter="fsDatagrid" class="fsDatagrid" toolbar="#toolbarDemo" title="成绩列表" defaultToolbar="filter" isTotalRow="1" isLoad="1" url="#(base)/stucourse/getCoursePage?studentid=#(studentid)"
                   isPage="1" sortType="1" pageSize="10" defaultForm="query_form"></table>

            <div class="fsDatagridCols">
                <p type="numbers" title="序号"/>
                <p type="checkbox" title="选择"/>
                <p field="id" title="ID" />
                <p field="Kcname" title="课程名称" />
                <p field="pingshiresult" title="平时成绩" />
                <p field="shiyanresult" title="实验成绩"/>
                <p field="qimoresult" title="期末成绩"/>
                <p field="zongresult" title="总成绩"/>
            </div>

        </div>
    </div>
</div>
#end